package com.kingyun.gpsinspection.purificationservice.facade.service.som;


import com.kingyun.gpsinspection.purificationservice.facade.model.som.ElectronTemplate;

import java.util.Map;

/**
 * Created by 卢曼成 on 2017/6/5.
 */
public interface SomElectronTemplateService {
    /**
     * 分页查询
     *
     * @param param
     * @return
     */
    Map<String, Object> findPageList(ElectronTemplate param) throws Exception;

    /**
     * 模版巡检记录查询集合
     *
     * @param param
     * @return
     * @throws Exception
     */
    Map<String, Object> findValuePageList(ElectronTemplate param) throws Exception;

    /**
     * 根据ID查询
     *
     * @param etId
     * @return
     */
    Map<String, Object> getByParam(String etId) throws Exception;

    /**
     * 根据ID查询
     *
     * @param etId
     * @return
     * @throws Exception
     */
    ElectronTemplate getById(String etId) throws Exception;

    /**
     * 保存
     *
     * @param param
     * @return
     */
    Map<String, Object> save(ElectronTemplate param) throws Exception;

    /**
     * 修改
     *
     * @param param
     * @return
     */
    Map<String, Object> update(ElectronTemplate param) throws Exception;

    /**
     * 逻辑删除
     *
     * @param etId
     * @return
     */
    Map<String, Object> deleteKey(String etId) throws Exception;

}
